<%@ page title="" language="C#" masterpagefile="~/enqry.master" autoeventwireup="true" inherits="registration, App_Web_irvafolg" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style1
        {
            height: 54px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

    <script type="text/javascript">
        function validate() {


            var txtAddress = document.getElementById("<%= txtcontact.ClientID %>").value;
            if (txtAddress == "") {
                alert("Please Enter Contact purson");
                document.getElementById("<%= txtcontact.ClientID %>").focus();
                return false;
            }


            var txtAddress1 = document.getElementById("<%= txtcompanyName.ClientID %>").value;
            if (txtAddress1 == "") {
                alert("Please Enter Company Name");
                document.getElementById("<%= txtcompanyName.ClientID %>").focus();
                return false;
            }

            var txtAddress23 = document.getElementById("<%= txtMobileno.ClientID %>").value;
            if (txtAddress23 == "") {
                alert("Please Enter Mobile Number");
                document.getElementById("<%= txtMobileno.ClientID %>").focus();
                return false;
            }

            var txtAddress24 = document.getElementById("<%= txtcity.ClientID %>").value;
            if (txtAddress24 == "") {
                alert("Please Enter City Name");
                document.getElementById("<%= txtcity.ClientID %>").focus();
                return false;

            }




            return true;
        }
     
       

    
</script>



    <asp:Panel ID="Panel1" runat="server">
   
   <div class="row">	
					<div class="col-lg-12">
                        <div class="panel panel-primary">
                          
                            <div class="panel-heading">
                                <h3 class="panel-title"><i class="fa fa-list fa-fw"></i> distributor and delar Form</h3>
                            </div>
                            
                        <div class="panel-body grid_height" style=" height:400px; overflow:scroll;">  
                         
&nbsp;&nbsp;<div class="col-md-4">
							   

                  <b>    Company Name  *</b>
                 

                    <asp:TextBox ID="txtcompanyName" runat="server" class="form-control"    TabIndex="3"></asp:TextBox>


                 <b>Mobile Number  *</b>
							  
                                 <asp:TextBox ID="txtMobileno" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>

          
                 <b>City    *</b>
							  
                                 <asp:TextBox ID="txtcity" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>
                   <b>Address </b>
							  
                                 &nbsp;<asp:TextBox ID="txtaddress" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>
                  <b>PAN NO </b>
							  
                                 <asp:TextBox ID="txtremark" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>
                 <b>Number Of Technical Staff    </b>
							  
                                 <asp:TextBox ID="TextBox1" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>



                    
              
							  </div>
							 
							 
                                <div class="col-md-4">
							       &nbsp;<b>Contact Person *</b>
							  
                                 <asp:TextBox ID="txtcontact" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>

                 <b>Tel phone number </b>
							  
                                 <asp:TextBox ID="txttelphonenumber" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>
                  <b>State    </b>
							 
                                 <asp:TextBox ID="txtstate" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>
                       <b>Email Address </b>
							  
                                 <asp:TextBox ID="txtemail" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>

                 
                    <b>Tin No    </b>
							  
                                 <asp:TextBox ID="txtpin" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>

                <b>Number Of Sales Staff    </b>
							  
                                 <asp:TextBox ID="TextBox2" runat="server" class="form-control"
              
                TabIndex="3"></asp:TextBox>
               
							  </div>

                              


							  </div>

                            
							  <center>
							  <div class="col-lg-12"  style="margin-top:30px;">
							  <ol class="breadcrumb">
								<%--<li><button class="btn btn-danger btn-lg" type="button" style="margin-right:20px;"><i class="fa fa-close"></i> Cancel</button></li>
                                	<li> <asp:Button ID="cmdcancel" runat="server" class="btn btn-danger btn-lg " type="button"
                    OnClick="cmdcancel_Click" Text="Cancel"  /></li>--%>

                     <asp:Button ID="cmdsave" runat="server" Text="Send "  OnClick="cmdsave_Click" onclientclick="return validate()"
        type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>
        <asp:Button ID="cmdcancel" runat="server" type="button" Text="Cancel" onclick="cmdcancel_Click" 
           class="btn btn-danger"
           /><i  class="fa fa-trash-o;"></i>


								<%--<li> <button class="btn btn-success btn-lg" type="button"><i class="fa fa-save"></i> Save</button></li>
                                <li> <asp:Button ID="cmdsave" runat="server" 
                    OnClick="cmdsave_Click" onclientclick="return validate()" Text="Save" class="btn btn-success btn-lg" type="button"
                    /></li>--%>

							  </ol>
							  </div>
                              </center>
                            
                        </div>
                    </div>
				</div>
  </asp:Panel>
    <asp:Panel ID="Panel2" runat="server" Visible="False">
    
  <center>
    <table>
    
    <tr>
    
    <td class="style1">User Name</td>
      <td class="style1">
          <asp:TextBox ID="txtusername" runat="server" Width="222px"></asp:TextBox></td>
    </tr>

    <tr>
    
    <td>Password</td>
      <td>
          <asp:TextBox ID="txtpassword" runat="server" TextMode="Password" Width="217px" 
              AutoPostBack="True" ontextchanged="txtpassword_TextChanged"></asp:TextBox></td>
    </tr>

    <tr>
    
    <td></td>
     <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                     <asp:Button ID="cmdlogin" runat="server" Text="Login"  
             OnClick="cmdlogin_Click"
        type="button" class="btn btn-success " Width="108px" /></td>
    </tr>
    </table>
    </center>

  </asp:Panel>
</asp:Content>

